Telegram Group & Telegram Channel
دریافت اطلاعات شاخص کل و مقایسه همبستگی شاخص کل با نماد شستا (مثال)
در مثال این پست که بر اساس ماژول tsemodule5 نوشته شده است، اطلاعات شاخص و نماد شستا برای 50 روز اخیر دریافت و رسم می شود و همبستگی میان آنها نمایش داده می شود.

import tsemodule5 as tm5
import matplotlib.pyplot as plt
import pandas as pd
plt.style.use("ggplot")
tehranindex=tm5.index(value=50,progress=False)
shasta = tm5.stock("شستا",value=50,progress=False,standard=True,newfile=True)
df=pd.DataFrame({"tehranindex":tehranindex["Close"],"shasta":shasta["Close"]},index=tehranindex.index)
df["tehranindex"].plot(figsize=(15,6),label="Tehran Index")
df["shasta"].plot(secondary_y=True,label="Shasta Stock")
print("Correlation is:",round(df.corr().iloc[0,1],2)*100,"%")
plt.legend()
plt.show()


#tsemodule



tg-me.com/python_for_student/557
Create:
Last Update:

دریافت اطلاعات شاخص کل و مقایسه همبستگی شاخص کل با نماد شستا (مثال)
در مثال این پست که بر اساس ماژول tsemodule5 نوشته شده است، اطلاعات شاخص و نماد شستا برای 50 روز اخیر دریافت و رسم می شود و همبستگی میان آنها نمایش داده می شود.

import tsemodule5 as tm5
import matplotlib.pyplot as plt
import pandas as pd
plt.style.use("ggplot")
tehranindex=tm5.index(value=50,progress=False)
shasta = tm5.stock("شستا",value=50,progress=False,standard=True,newfile=True)
df=pd.DataFrame({"tehranindex":tehranindex["Close"],"shasta":shasta["Close"]},index=tehranindex.index)
df["tehranindex"].plot(figsize=(15,6),label="Tehran Index")
df["shasta"].plot(secondary_y=True,label="Shasta Stock")
print("Correlation is:",round(df.corr().iloc[0,1],2)*100,"%")
plt.legend()
plt.show()


#tsemodule

BY پایتون به زبان ساده


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/python_for_student/557

View MORE
Open in Telegram


پایتون به زبان ساده Telegram | DID YOU KNOW?

Date: |

What is Telegram?

Telegram’s stand out feature is its encryption scheme that keeps messages and media secure in transit. The scheme is known as MTProto and is based on 256-bit AES encryption, RSA encryption, and Diffie-Hellman key exchange. The result of this complicated and technical-sounding jargon? A messaging service that claims to keep your data safe.Why do we say claims? When dealing with security, you always want to leave room for scrutiny, and a few cryptography experts have criticized the system. Overall, any level of encryption is better than none, but a level of discretion should always be observed with any online connected system, even Telegram.

That strategy is the acquisition of a value-priced company by a growth company. Using the growth company's higher-priced stock for the acquisition can produce outsized revenue and earnings growth. Even better is the use of cash, particularly in a growth period when financial aggressiveness is accepted and even positively viewed.he key public rationale behind this strategy is synergy - the 1+1=3 view. In many cases, synergy does occur and is valuable. However, in other cases, particularly as the strategy gains popularity, it doesn't. Joining two different organizations, workforces and cultures is a challenge. Simply putting two separate organizations together necessarily creates disruptions and conflicts that can undermine both operations.

پایتون به زبان ساده from id


Telegram پایتون به زبان ساده
FROM USA